import request from '@/plugin/axios'

export function uploadFile(filename, ownerid, fileid) {
    var data = new Object()
    data.filename = filename?filename:'nonamefile'
    data.ownerid = ownerid
    data.filename = fileid
    return request({
        url: '/files/upload',
        method: 'post',
        data
    })
}
